﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UM_SERVER.Command
{
    /// <summary>
    ///     基本协议命令
    /// </summary>
    class BaseCommand : Command
    {
        public override string[] GetCommandHeader()
        {
            return this.Header;
        }

        public override string[] GetCommandBody()
        {
            return this.Body;
        }

        public override string[] GetCommandArgs()
        {
            return this.Args;
        }

        public override DateTime GetCommandInputTime()
        {
            return this.InputTime;
        }

        public override CommandProtocol.Protocol GetProtocol()
        {
            return CommandProtocol.Protocol.PROTOCOL_NET;
        }

        public override DosCommand.Command GetCommand()
        {
            return this.command;
        }
    }
}
